﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
using System.Data.Linq.Mapping;


namespace Kis2012.Models
{
    [Table(Name = "t$ourusersroles")]
    public class UserRoles
    {
        private int _UserRoleId;
        [Column(Storage = "_UserRoleId", Name = "f$nrec", IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert, DbType = "Int NOT NULL IDENTITY")]
        public int UserRoleId {
            get { return this._UserRoleId; }
            //set { _UserId = value; } 
        }

        [Column(Name="f$username")]
        public string UserName { get; set; }
        [Column(Name="f$rolename")]
        public string RoleName { get; set; }
        [Column(Name="f$appname")]
        public string AppName { get; set; }

    }
}